from study.views.views import VerifyCode
from django.middleware import csrf
from django.urls import path, include
from django.views.decorators.csrf import csrf_exempt
from gov.views import *
from django.views.generic.base import TemplateView

# url namespace
app_name = 'sat'

urlpatterns = [
  path('login/', csrf_exempt(Login.as_view()), name='login'),
  path('course/', csrf_exempt(CourseView.as_view()), name='course'),
  path('courses/', csrf_exempt(CourseList.as_view()), name='course'),
  path('course/play/', csrf_exempt(CoursePlay.as_view()), name='coursePlay'),
  path('verify/code/', csrf_exempt(VerifyCode.as_view()), name='getVerifyCode'),
]